Skip to content

Socket throttling allowing associated with testing Macromaker server …#379

Merged
rrivera747 merged 7 commits intodevelopfrom
rrivera/mmServerHandlingForLargeSystems
Mar 25, 2026
Merged

Socket throttling allowing associated with testing Macromaker server …#379
rrivera747 merged 7 commits intodevelopfrom
rrivera/mmServerHandlingForLargeSystems

Conversation

@rrivera747
Copy link
Copy Markdown
Contributor

…with large system (Mu2e at MC-2)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a configurable UDP acknowledgement throttling knob in TransceiverSocket (to support large-system MacroMaker testing) and improves MacroMaker launch-time visibility when UDP CLI environment variables aren’t set.

Changes:

  • Add an optional interPacketGapUSeconds parameter to TransceiverSocket::acknowledge() to insert a delay between UDP chunks.
  • Emit a MacroMaker-mode launch warning when OTS_MACROMAKER_UDP_IP / OTS_MACROMAKER_UDP_PORT are unset.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
tools/ots Adds a startup warning in MacroMaker mode about missing UDP CLI env vars.
otsdaq/NetworkUtilities/TransceiverSocket.h Extends acknowledge() API to accept an inter-packet gap parameter.
otsdaq/NetworkUtilities/TransceiverSocket.cc Implements the inter-packet delay during chunked UDP acknowledgements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: rrivera747 <107584474+rrivera747@users.noreply.github.com>
Agent-Logs-Url: https://github.com/art-daq/otsdaq/sessions/99058509-4306-48e1-9f75-81d6dc866efc
@rrivera747 rrivera747 requested a review from eflumerf March 25, 2026 16:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rrivera747 and others added 2 commits March 25, 2026 13:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rrivera747 rrivera747 merged commit ca5c174 into develop Mar 25, 2026
11 checks passed
@rrivera747 rrivera747 deleted the rrivera/mmServerHandlingForLargeSystems branch March 25, 2026 20:17
@github-project-automation github-project-automation bot moved this from 📋 Triage to 🎉 Done in art-daq Work Tracker Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

5 participants